tokio-signal
Unix signal handling for Tokio.
Note: This crate is deprecated in tokio 0.2.x and has been moved into
tokio::signal
behind thesignal
feature flag.
Usage
First, add this to your Cargo.toml
:
[]
= "0.2.8"
Next you can use this in conjunction with the tokio
and futures
crates:
extern crate futures;
extern crate tokio;
extern crate tokio_signal;
use ;
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.